
var jumlib = {};
var a = {};
Components.utils.import("resource://mozmill/modules/jum.js", jumlib);

var testFoo1 = function () {
    for (var i = 1; i<30; i++){
        jumlib.assertEquals(i, dateToDay(new Date(2011,11,i,10,10,10,9)), "comment");
    }
}

function dateToDay(date) {
	   var datee = new Date(date);
    return new Number(datee.getDate());
}